package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 点击添加外联拓展
 */

@Getter
@Setter
@ToString
public class OuterLinkAddOutLinkExtensionDTO   extends BaseDTO {

    /**
     * 表单id
     */
    @NotNull(message = "{dto.msg.coUserList.formId.NotNull}")
    private Long  formId;

    /**
     * 业务类型
     */
    @NotNull(message = "{dto.msg.coUserList.formId.NotNull}")
    private Integer businessType;

    /**
     * 拓展字段
     */
    @NotEmpty(message = "{dto.msg.paasFormDataEsInit.xbbCode.NotEmpty}")
    private String extenedField;

}
